You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.ExtractSample Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.ExtractSample Method

Gets double number, extracted from string source.

Syntax
C#
Visual Basic
public static double ExtractSample([In] string Source, ref int Offset, [In] string Delimiter);

double number that was extracted from string Source looking from Offset and ended with Delimiter.

The Offset is modified to point to the first character after first found Delimiter in Source string. You can use ExtractSample to process a string of complex numbers separated by Delimiter. If the Delimiter is not Found, the function returns zero.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!